.chat {
  display: flex;
  flex-direction: column;
  background: url('@/assets/chat/chat-back.png');
  background-size: cover;
  width: 1510px;
  height: 675px;
}
.chat .head {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 64px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #4636ff 0%, #cb70ff 38.43%, #30e0ff 68.99%, #4c95fc 100%);
  border-image-slice: 1;
}
.chat .head .outer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 9px;
  width: 205px;
  height: 48px;
  border: 2px solid transparent;
  border-radius: 85px;
  background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #4636ff 0%, #cb70ff 38.43%, #30e0ff 68.99%, #4c95fc 100%);
}
.chat .head .outer .back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 204px;
  height: 45px;
  border-radius: 64px;
  color: #7948ea;
  font-size: 20px;
  font-weight: 700;
  background-color: white;
}
.chat .head .title {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 216px;
  height: 53px;
  font-size: 36px;
  font-weight: 700;
  color: #7948ea;
  margin-left: 371px;
}
.chat .head .outer-save {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 205px;
  height: 48px;
  margin-left: 460px;
  border: 2px solid transparent;
  border-radius: 64px;
  background: linear-gradient(white, white) padding-box, linear-gradient(90deg, #4636ff 0%, #cb70ff 38.43%, #30e0ff 68.99%, #4c95fc 100%);
}
.chat .head .outer-save .save {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 45px;
  border-radius: 64px;
  background-color: white;
  color: #7948ea;
  font-size: 20px;
  font-weight: 700;
}
.chat .content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 614px;
}
.chat .content .left {
  width: 758px;
  display: flex;
  flex-direction: column;
  height: 95%;
  margin-left: 5px;
  border-radius: 15px;
  background-color: white;
  position: relative;
}
.chat .content .left .top {
  display: flex;
  flex-direction: row;
  width: 758px;
  height: 30px;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #7948ea;
}
.chat .content .left .top .current {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 20px;
  font-size: 15px;
  font-weight: 400;
  color: #7948ea;
  margin-left: 16px;
}
.chat .content .left .top .left-save {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 20px;
  font-size: 15px;
  font-weight: 400;
  color: #7948ea;
  margin-right: 15px;
}
.chat .content .left .top .save-dialog {
  position: absolute;
  top: 0;
  left: 100%;
}
.chat .content .left .lesson {
  width: 758px;
  height: 581.25px;
  overflow: auto;
}
.chat .content .left .lesson .lesson::-webkit-scrollbar-thumb {
  background-color: #b9a3ff;
  /* 滚动条滑块颜色，这里设置为紫色 */
  border-radius: 4px;
  /* 滚动条滑块圆角 */
}
.chat .content .left .bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 758px;
  height: 30px;
  position: absolute;
  top: 544.5px;
}
.chat .content .left .bottom .history {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 20px;
  font-size: 15px;
  font-weight: 400;
  color: #7948ea;
}
.chat .content .left .bottom .preview {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 20px;
  font-size: 15px;
  font-weight: 400;
  color: #7948ea;
}
.chat .content .right {
  width: 612px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 95%;
  margin-left: 19px;
  border-radius: 15px;
  background-color: white;
}
.chat .content .right .right-head {
  width: 612px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  color: #7948ea;
}
.chat .content .right .chat-box {
  width: 612px;
  height: 400px;
}
.chat .content .right .function-outer {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 540px;
  height: 107px;
  border-radius: 22px;
  border: 2px solid transparent;
  background: linear-gradient(#efefef, #efefef) padding-box, linear-gradient(90deg, #4636ff 0%, #cb70ff 38.43%, #30e0ff 68.99%, #4c95fc 100%);
}
.chat .content .right .function-outer .message-textarea {
  width: 2000px;
  height: 65px;
  border: none;
  outline: none;
  padding: 10px;
  border-radius: 10px;
  overflow-y: auto;
  white-space: normal;
  word-wrap: break-word;
  margin-left: 5px;
  background-color: #efefef;
}
.chat .content .right .function-outer .message-textarea .textarea-placeholder {
  color: #383838;
}
.chat .content .right .function-outer .function-box {
  width: 536px;
  height: 90px;
  border-radius: 22px;
  padding: 5px;
}
.chat .content .right .function-outer .function-box .box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 63px;
  height: 24px;
  margin-left: auto;
  margin-top: 60px;
  margin-right: 15px;
}
.chat .content .right .function-outer .function-box .box .enter {
  background: url('@/assets/chat/enter.png');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 17px;
  height: 20px;
}
.chat .content .right .function-outer .function-box .box .copy {
  background: url('@/assets/chat/save.png');
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20.95px;
  height: 25px;
  margin-right: 12px;
}
